<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?=$this->config->item('charset');?>">
	<title>美食菜单_地方美食_特色美食_私房美食收藏<?=$this->config->item('site_name');?></title>
	<meta name="keywords" content="菜单" />
	<meta name="description" content="菜单" />
	<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
	<link href="<?=base_url('static/css/global.css')?>" rel="stylesheet" type="text/css" media="screen">
	<link href="<?=base_url('static/css/recipe.css')?>" rel="stylesheet" type="text/css" media="screen">
	<script src="<?=path_res('static/js/jquery.js')?>"></script>
	<script src="<?=path_res('static/js/functions.js')?>"></script>
</head>
<body>

<? $this->load->view('header'); ?>
<div id="main" class="clearfix">
	<div>
        <div class="caidan-list-header">
            <span>标题</span> <span></span>
        </div>
        
		<div class="caidan-list">
			<?php foreach( $caidan_list as $caidan):?>
		    <div class="caidan-list-item">
		        <span>
		            <a href="<?=site_url('/caidan/views/'.$caidan["id"])?>"><?=$caidan['title']?></a>
		                <span style="color:gray;">(<?=$caidan['views']?>)</span>
		        </span>
		        <span class="gray-desc" style="margin-right:10px;float:right">
		            <?=date("Y-m-d", $caidan['uptime'])?>
		        </span>
		    </div>
			<?php endforeach;?>
		</div>

    </div>

	<div class="mtl">
		<div class="page_PN">
			<div class="pager">
				<?= $this->pagination->create_links();?>
			</div>
		</div>	
	</div>
</div>





<? $this->load->view('footer'); ?>